//
//  yueTableViewCell.m
//  盘盈贷
//
//  Created by iOS on 15/3/24.
//  Copyright (c) 2015年 Yunpeng Technologies. All rights reserved.
//

#import "yueTableViewCell.h"

@implementation yueTableViewCell
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.riqi = [[UILabel alloc] init];
        [self.contentView addSubview:self.riqi];
        [self.riqi release];
        self.jine  = [[UILabel alloc] init];
        [self.contentView addSubview:self.jine];
        [self.jine release];
        self.leixing = [[UILabel alloc] init];
        [self.contentView addSubview:self.leixing];
        [self.leixing release];
        self.name = [[UILabel alloc] init];
        [self.contentView addSubview:self.name];
        [self.name release];
        self.riqi1 = [[UILabel alloc] init];
        [self.contentView addSubview:self.riqi1];
        [self.riqi1 release];
        
    }
    return self;
}
- (void)layoutSubviews
{
    [super layoutSubviews];
    self.riqi.frame = CGRectMake(160, 40, 85, 20);
    self.riqi.font = [UIFont systemFontOfSize:13];
    self.riqi.textColor = [UIColor grayColor];
    self.jine.frame = CGRectMake(160, 10, 125, 20);
    self.leixing.frame  = CGRectMake(30, 40, 50, 20);
    self.leixing.font = [UIFont systemFontOfSize:14];
    self.leixing.textColor = [UIColor grayColor];
    self.name.frame = CGRectMake(30, 10, 60, 20);
     self.name.font = [UIFont fontWithName:@"Helvetica-Bold" size:18];
    self.name.textColor = [UIColor orangeColor];
    self.riqi1.frame = CGRectMake(240, 40, 80, 20);
    self.riqi1.font = [UIFont systemFontOfSize:13];
    self.riqi1.textColor = [UIColor grayColor];
    
}
- (void)awakeFromNib {
    // Initialization code
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
